package scau.erps.view.system.team;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

/**
 * 订单竞价对话框——小组
 *  
 * @author DCJ
 *
 */
public class MyOrderBiddingDialog extends JDialog{
	private static final long serialVersionUID = 1L;
	public MyOrderBiddingDialog(){
		this.setTitle("订单竞价");
		this.setSize(1024, 768);
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
		JPanel contentPanel = new JPanel();
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setPreferredSize(new Dimension(1000,750));
		MySystemOrderBiddingPanel systemOrderBiddingPanel = new MySystemOrderBiddingPanel();	
		MyOrderBiddingPanel myBiddingPanel = new MyOrderBiddingPanel();		
		tabbedPane.add(systemOrderBiddingPanel,"订单竞价");
		tabbedPane.add(myBiddingPanel,"查看我的竞价");
		contentPanel.add(tabbedPane, BorderLayout.CENTER);
		this.setContentPane(contentPanel);
		this.setVisible(true);
	}
}
